<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
        "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:ui="http://java.sun.com/jsf/facelets"
      xmlns:h="http://java.sun.com/jsf/html"
      xmlns:f="http://java.sun.com/jsf/core"
      xmlns:rich="http://richfaces.org/rich"
      xmlns:common="http://www.frenjoynet.common.rs/frenjoynet/core/ui"
      xmlns:a4j="http://richfaces.org/a4j">

<ui:component>

      <rich:extendedDataTable id="userInfoTable"
                            value="#{userInfoBean.allUser}"
                            var="user"
                            width="100%"
                            selection="#{userInfoBean.selectedUser}"

            >

        <rich:column width="25%">
            <f:facet name="header">
                <h:outputLabel value="Username"/>
            </f:facet>
            <h:outputText value="#{user.username}"/>
        </rich:column>

        <rich:column width="25%">
            <f:facet name="header">
                <h:outputLabel value="Password"/>
            </f:facet>
            <h:outputText value="#{user.password}"/>
        </rich:column>

        <rich:column width="25%">
            <f:facet name="header">
                <h:outputLabel value="Email"/>
            </f:facet>
            <h:outputText value="#{user.mail}"/>
        </rich:column>

        <rich:column width="25%">
            <f:facet name="header">
                <h:outputLabel value="Privilege"/>
            </f:facet>
            <h:outputText value="#{user.privilege}"/>
        </rich:column>

    </rich:extendedDataTable>
 


</ui:component>


</html>
